import { IntegralTask } from '@/entity/integral-task.entity';
import { InvitationCode } from '@/entity/invitation-code.entity';
import { StudyMatchNeed } from '@/entity/study-match-need.entity';
import { StudyMatchResult } from '@/entity/study-match-result.entity';
import { StudyMatchUserMessge } from '@/entity/study-match-user-message.entity';
import { User } from '@/entity/user.entity';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { StudyMatchController } from './study-match.controller';
import { StudyMatchService } from './study-match.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      StudyMatchUserMessge,
      StudyMatchNeed,
      StudyMatchResult,
      InvitationCode,
      User,
      IntegralTask,
    ]),
  ],
  controllers: [StudyMatchController],
  providers: [StudyMatchService],
})
export class StudyMatchModule {}
